package com.bryantkobe.myspringcode.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import java.io.Serial;


/**
 *  实体类。
 *
 * @author alien
 * @since 2025-09-14
 */
@Table("alien_server_log")
public class ServerLog implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String message;

    private Integer level;

    private LocalDateTime posttime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public LocalDateTime getPosttime() {
        return posttime;
    }

    public void setPosttime(LocalDateTime posttime) {
        this.posttime = posttime;
    }

}
